package com.ruoyi.tb.lmt.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划明细业务对象 tb_repairplanlist
 *
 * @author ruoyi
 * @date 2023-12-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbRepairplanlistBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 计划id
     */
    @NotNull(message = "计划id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long planId;

    /**
     * 车型
     */
    @NotBlank(message = "车型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lmtType;

    /**
     * 车号
     */
    @NotBlank(message = "车号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lmtNumber;

    /**
     * 修别
     */
    private String repairType;

    /**
     * 修次
     */
    private String repairTimes;

    /**
     * 编号
     */
    private String repairCode;

    /**
     * 修程（修1、修2、修3）
     */
    private String repairChar;

    /**
     * 开始日期
     */
    private String repairStartDate;

    /**
     * 结束日期
     */
    private String repairEndDate;

    /**
     * 检修单元
     */
    private String repairUnit;

    /**
     *
     */
    private Date inTime;

    /**
     *
     */
    private Date dutyTime;

    /**
     *
     */
    private Date outTime;

    /**
     *
     */
    private Long repairKm;

    /**
     *
     */
    private String placeRoom;

    /**
     *
     */
    private String placeLine;

    /**
     * 状态
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    /**
     *
     */
    private String jszd;

    /**
     *
     */
    private String thcl;

    /**
     * 配属车间
     */
    private String workerTeam;

    private Date expirationDate;

    private Integer isReplaceDgzz;

    private Integer isReplaceFdj;


    @TableField(exist = false)
    private String repairStation;

    private String planName;

    private String  planCode;

    /**
     * 段验人
     */
    private String checkUser2;

    /**
     * 段验时间
     */
    private Date checkTime2;

    /**
     * 局验人
     */
    private String checkUser3;

    /**
     * 局验时间
     */
    private Date checkTime3;

    /**
     * 检修开始时间
     */
    private Date startTime;

    /**
     * 检修完成时间
     */
    private Date endTime;

    private String workGroup;

    private Long workGroupId;

    //检修天数
    private String repairDays;

    //申请人
    private String applicant;

    //审批时间
    private Date approvedTime;

    //审批人
    private String approvedUser;

    //审批状态
    private String approvedStatus;

    private String repairNum;
}
